export const WXAPPID: string = 'wxa464dec47728aee5'
export const URL_LOGIN_WXMP: string = 'https://test.aixiang2018.com/api/auth/token?grant_type=weixin_oauth'
export const URL_LOGIN_REFERSHTOKEN: string = 'https://test.aixiang2018.com/api/auth/token?grant_type=refresh_token'
export const URL_FIND_CABINETS: string = 'https://test.aixiang2018.com/api/v2/cabinets'
export const URL_FIND_GOODS: string = 'https://test.aixiang2018.com/api/v2/commodities'
export const URL_MY_WALLET: string = 'https://test.aixiang2018.com/api/v2/my/commodities'
export const URL_CREATEORDER: string = 'https://test.aixiang2018.com/api/v2/orders'
export const URL_EXCHANGEBATTERY: string = 'https://test.aixiang2018.com/api/1/User/ExchangeBattery'
export const URL_SUBMITINFO: string = 'https://test.aixiang2018.com/api/1/User/SubmitInfo?info='
// https://test.aixiang2018.com/api/v2/users/
// https://test.aixiang2018.com/api/1/User/RentBattery
export const URL_RENTBATTERY: string = 'https://test.aixiang2018.com/api/1/User/RentBattery'
export const URL_WXPAYADVANS: string = 'https://test.aixiang2018.com/api/v2/order-payments/weixin'
export const URL_WXPAYADVANSENCRYPT = (prepayId: string): string => {
  return 'https://test.aixiang2018.com/api/v2/order-payments/weixin/' + prepayId + '/mini-program-payment-request'
}
export const URL_GETCARLISTFROMSTOREID = (storeId: string): string => {
  return 'https://test.aixiang2018.com/api/v2/scooter-rentals/' + storeId + '/scooters'
  // return 'https://test.aixiang2018.com/api/v2/order-payments/weixin/' + prepayId + '/mini-program-payment-request'
}
// https://test.aixiang2018.com/api/v2/scooter-rentals/1/scooters
export const URL_FIND_MENUS: string = 'https://test.aixiang2018.com/api/v2/menus'
// export const URL_WXPAYADVANSENCRYPT: string = 'https://test.aixiang2018.com/api/v2/order-payments/weixin/:id/mini-program-payment-request'
// https://test.aixiang2018.com/api/v2/order-payments/weixin

// 查询换电记录
export const URL_EXCHANGEBATTERYORDERS: string = 'https://test.aixiang2018.com/api/v2/exchange-logs'

// 查询租车记录
export const URL_RENTCARORDERS: string = 'https://test.aixiang2018.com/api/v2/rent-scooter-logs'

// 添加邀请人
export const URLADDINVITER: string = 'https://test.aixiang2018.com/api/v2/my/inviter'

// 发送验证码
export const URL_SENDCODE: string = 'https://test.aixiang2018.com/api/1/Open/SendCode'

// 绑定手机号
export const URL_BINDMOBILE: string = 'https://test.aixiang2018.com/api/1/User/BindMobile'

// 获取用户信息
export const URL_GETMYINFO: string = 'https://test.aixiang2018.com/api/v2/my/info'